
/*
 ******************************************************************************
 *
 * isp_otp_msc_golden.h
 *
 *
 * Copyright (c) 2020 by Allwinnertech Co., Ltd.  http://www.allwinnertech.com
 *
 * Version		  Author         Date		    Description
 *
 *   3.0		 	 ZJW   	2020/07/29	MSC TABLE
 *
 *****************************************************************************
 */

#ifndef _ISP_OTP_MSC_GOLDEN_H_
#define _ISP_OTP_MSC_GOLDEN_H_


float msc_golden[ISP_MSC_TBL_LENGTH] =
{
//comp 100 new bayer
		 2039,	1844,  1635,  1426,  1251,	1115,  1029,   988,   988,	1029,  1115,  1238,  1409,	1597,  1796,  2004,
		 1926,	1716,  1481,  1256,  1076,	 947,	871,   835,   837,	 873,	947,  1070,  1238,	1444,  1658,  1874,
		 1834,	1590,  1338,  1107,   937,	 819,	754,   724,   725,	 755,	823,   932,  1097,	1308,  1541,  1768,
		 1751,	1481,  1212,   988,   827,	 727,	667,   641,   641,	 670,	728,   825,   976,	1187,  1432,  1683,
		 1675,	1392,  1111,   896,   752,	 659,	606,   584,   584,	 610,	663,   750,   889,	1090,  1344,  1605,
		 1612,	1318,  1041,   833,   700,	 616,	566,   546,   547,	 570,	618,   699,   827,	1019,  1274,  1541,
		 1576,	1270,	993,   793,   667,	 587,	542,   523,   523,	 544,	589,   667,   790,	 974,  1225,  1501,
		 1554,	1247,	971,   775,   650,	 573,	531,   512,   513,	 532,	575,   650,   769,	 950,  1199,  1475,
		 1561,	1251,	974,   779,   652,	 574,	531,   514,   514,	 533,	576,   650,   770,	 952,  1199,  1475,
		 1583,	1289,  1008,   806,   674,	 593,	547,   528,   528,	 548,	593,   670,   793,	 979,  1229,  1494,
		 1635,	1344,  1063,   852,   713,	 623,	575,   553,   553,	 576,	623,   706,   835,	1029,  1279,  1534,
		 1699,	1421,  1144,   922,   770,	 673,	617,   593,   592,	 618,	670,   760,   900,	1100,  1349,  1590,
		 1760,	1507,  1242,  1016,   847,	 737,	674,   647,   647,	 676,	734,   835,   985,	1191,  1426,  1651,
		 1824,	1605,  1359,  1133,   952,	 829,	755,   724,   724,	 755,	819,   932,  1097,	1303,  1514,  1724,
		 1894,	1708,  1481,  1265,  1083,	 947,	867,   827,   827,	 862,	937,  1060,  1229,	1421,  1620,  1805,
		 1947,	1796,  1597,  1403,  1225,	1090,	999,   955,   955,	 990,  1073,  1199,  1359,	1541,  1716,  1874,
		 1787,	1613,  1447,  1293,  1153,	1045,	975,   940,   942,	 977,  1048,  1153,  1289,	1442,  1613,  1801,
		 1686,	1505,  1327,  1159,  1015,	 912,	848,   815,   817,	 851,	915,  1019,  1159,	1323,  1500,  1692,
		 1602,	1410,  1219,  1043,   902,	 805,	746,   718,   720,	 751,	813,   910,  1048,	1219,  1406,  1596,
		 1531,	1327,  1121,   944,   813,	 722,	667,   643,   643,	 673,	729,   820,   952,	1124,  1323,  1520,
		 1471,	1256,  1041,   868,   744,	 660,	610,   586,   589,	 615,	667,   753,   879,	1050,  1253,  1456,
		 1428,	1199,	981,   814,   694,	 616,	570,   549,   550,	 576,	625,   705,   826,	 992,  1199,  1410,
		 1393,	1162,	944,   777,   662,	 588,	545,   525,   526,	 550,	596,   674,   791,	 954,  1165,  1380,
		 1376,	1141,	923,   759,   645,	 574,	532,   512,   514,	 538,	582,   659,   773,	 934,  1144,  1363,
		 1376,	1144,	925,   760,   647,	 574,	533,   513,   516,	 538,	584,   660,   775,	 936,  1144,  1359,
		 1397,	1171,	952,   785,   667,	 592,	549,   530,   531,	 554,	601,   679,   797,	 960,  1165,  1376,
		 1433,	1212,	997,   826,   705,	 624,	577,   556,   559,	 583,	633,   714,   835,	1001,  1206,  1410,
		 1475,	1274,  1063,   888,   760,	 673,	621,   598,   600,	 628,	682,   768,   893,	1063,  1260,  1456,
		 1531,	1343,  1144,   969,   835,	 741,	684,   657,   660,	 690,	746,   840,   971,	1138,  1327,  1505,
		 1590,	1419,  1239,  1070,   931,	 831,	768,   738,   739,	 772,	832,   932,  1070,	1232,  1402,  1574,
		 1661,	1505,  1343,  1187,  1050,	 942,	874,   843,   843,	 878,	942,  1045,  1183,	1331,  1485,  1643,
		 1725,	1585,  1442,  1304,  1177,	1076,  1003,   967,   969,	1001,  1068,  1171,  1296,	1428,  1574,  1718,
		 1654,	1508,  1361,  1213,  1078,	 971,	904,   869,   869,	 897,	954,  1043,  1157,	1290,  1431,  1595,
		 1561,	1404,  1247,  1094,   958,	 859,	797,   770,   767,	 792,	846,   934,  1048,	1181,  1321,  1488,
		 1478,	1313,  1145,   988,   859,	 770,	715,   691,   689,	 713,	762,   839,   954,	1094,  1240,  1404,
		 1413,	1233,  1053,   897,   778,	 700,	649,   627,   627,	 649,	693,   764,   875,	1010,  1169,  1321,
		 1353,	1169,	979,   827,   715,	 645,	600,   580,   580,	 600,	643,   711,   812,	 950,  1111,  1268,
		 1305,	1111,	922,   772,   670,	 603,	564,   546,   547,	 567,	607,   672,   770,	 904,  1068,  1233,
		 1268,	1068,	882,   739,   641,	 578,	542,   525,   525,	 546,	583,   645,   739,	 872,  1038,  1213,
		 1240,	1043,	859,   720,   625,	 562,	529,   514,   516,	 534,	571,   632,   725,	 855,  1019,  1194,
		 1233,	1033,	852,   713,   620,	 559,	525,   512,   514,	 532,	569,   632,   725,	 852,  1019,  1194,
		 1240,	1048,	865,   730,   634,	 571,	535,   522,   524,	 543,	581,   645,   742,	 872,  1038,  1207,
		 1261,	1078,	900,   757,   659,	 594,	555,   541,   543,	 564,	607,   672,   770,	 904,  1068,  1233,
		 1298,	1127,	946,   803,   700,	 632,	589,   572,   575,	 598,	643,   715,   818,	 954,  1116,  1268,
		 1337,	1175,  1010,   865,   757,	 683,	638,   617,   622,	 647,	695,   770,   879,	1015,  1169,  1313,
		 1387,	1240,  1084,   946,   833,	 752,	704,   681,   685,	 713,	764,   846,   958,	1089,  1227,  1370,
		 1440,	1298,  1169,  1038,   926,	 842,	789,   767,   767,	 797,	852,   938,  1048,	1169,  1290,  1431,
		 1498,	1361,  1233,  1127,  1024,	 942,	886,   862,   865,	 897,	950,  1033,  1133,	1240,  1353,  1498
};

float wb_golden[AWB_CH_NUM] =
{
	188, 256, 127
};

float wb_golden_corner[AWB_CH_NUM] =
{
	206,   256,   126
};

#endif /*_ISP_AE_DATA_H_*/


